home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / docs / misc / MSHTut30.lha / MSH / msh-156.lha / syslog / log.c next >
Encoding:
C/C++ Source or Header  |  1994-10-25  |  325 b   |  21 lines

  1. /*-
  2.  * $Id: log.c,v 1.1 1994/10/24 20:36:30 Rhialto Exp $
  3.  *
  4.  * $Log: log.c,v $
  5.  * Revision 1.1  1994/10/24  20:36:30  Rhialto
  6.  * Initial revision
  7.  *
  8.  * LOG A MESSAGE
  9. -*/
  10.  
  11. #include "syslog.h"
  12.  
  13. main(argc, argv)
  14. int        argc;
  15. char          **argv;
  16. {
  17.     initsyslog();
  18.     syslog0("%s: %s\n", argv[0], argv[1]);
  19.     uninitsyslog();
  20. }
  21.